function [cellParams,cellData] = Pucch1GroupAndSequenceHopping(cellParams,cellData)
    cellID              = cellParams.cellConfig.cellID;
    slotNum             = cellParams.cellConfig.slotNum;
    pucch1GroupHopping  = cellParams.pucch1.L1.pucch1GroupHopping;
    m_hop               = cellParams.pucch1.L1.m_hop;
    NID                 = cellParams.pucch1.L1.NID;


    %38211 6.3.2.2 提到0134格式都使用0
    delta = 0;

    %38211 6.3.2.2.1
    if pucch1GroupHopping == "neither"
        fgh = 0;
        fss = mod(NID,30);
        v   = 0;
    elseif pucch1GroupHopping == "enable"
        cinit       = floor(NID/30);
        m           = 2.^(0:7);
        n           = [8*(2*slotNum), 16];
        c           = nrPRBS(cinit,n);
        c_reshape   = reshape(c,8,[]);
        fgh         = mod(m*c_reshape,30);
        fss         = mod(NID,30);
        v           = 0;
    elseif pucch1GroupHopping == "disable"
        fgh     = 0;
        fss     = mod(NID,30);
        cinit   = 32*floor(NID/30)+mod(NID,30);  
        n       = 2*slotNum+m_hop;
        c       = nrPRBS(cinit,max(n)+16);
        v       = c(n);
    end
    
    u = mod(fgh+fss,30);

    cellParams.pucch1.L1.fgh    = fgh;
    cellParams.pucch1.L1.fss    = fss;
    cellParams.pucch1.L1.v      = v;
    cellParams.pucch1.L1.u      = u;
    cellParams.pucch1.L1.delta  = delta;
end